﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain;
using Abp.Events.Bus;

namespace FwProject.EventBusData
{
    public class BaseEventData : EventData
    {
        /// <summary>
        /// 配送Id
        /// </summary>
        public Guid Id { get; set;}

        public long UserId { get; set; }
        /// <summary>
        /// 餐厅Id
        /// </summary>
        public Guid RestaurantId { get; set; }
        public ActionType ActionType { get; set; } = ActionType.添加配送型号;

        public Guid FactoryinfoId { get; set; }

    }

    public enum ActionType {
        创建配送 = 0,
        添加配送型号 =1,
        配送修改=2
    }
}
